xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766).
authorJan D. <jan.h.d@swipnet.se>
Tue, 30 Mar 2010 17:26:58 +0000 (19:26 +0200)
committerJan D. <jan.h.d@swipnet.se>
Tue, 30 Mar 2010 17:26:58 +0000 (19:26 +0200)
src/ChangeLog
src/xdisp.c

index 2ee493812631767f9b21ba8e359ac815b32fb9c7..eae51bc1f0a541824e2c3cf46f3043b55a2c9aac 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-30  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xdisp.c (note_mouse_highlight): Don't do highlight if pointer is
+       invisible (Bug#5766).
+
 2010-03-29  Adrian Robert  <adrian.b.robert@gmail.com>
 
        * xdisp.c (x_consider_frame_title, update_window_cursor): Remove
index 81b97b25c1c7cd075090c351b949fb7f94ced9f4..1b6cbfbe27a0796c6bfc740193a4c13c559cf32c 100644 (file)
@@ -23551,7 +23551,8 @@ note_mouse_highlight (f, x, y)
 #endif
 
   if (NILP (Vmouse_highlight)
-      || !f->glyphs_initialized_p)
+      || !f->glyphs_initialized_p
+      || f->pointer_invisible)
     return;
 
   dpyinfo->mouse_face_mouse_x = x;